<template>
	<view class="header">
		<view class="header-container">
			<view class="title">财富</view>
			<input type="text" placeholder="搜索相关数据" />
			<image src="../../static/wealth/message.png"></image>
			<image src="../../static/wealth/card.png"></image>
		</view>
	</view>
</template>

<script>
	export default {
		name: "headNav",
		data() {
			return {

			};
		}
	}
</script>

<style scoped lang="scss">
		.header {
			height: 180rpx;
			background-color: #3476f1;
			overflow: hidden;

			.header-container {
				width: 100%;
				height: 120rpx;
				box-sizing: border-box;
				padding: 30rpx;
				line-height: 120rpx;
				margin-top: 50rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;

				.title {
					color: #FFFFFF;
					font-size: 40rpx;
					font-weight: bold;
				}

				input {
					background-color: #FFFFFF;
					width: 60vw;
					height: 60rpx;
					border-radius: 30rpx;
					padding-left: 70rpx;
					background-image: url(../../static/wealth/search.png);
					background-repeat: no-repeat;
					background-size: 25rpx 25rpx;
					background-position: 25rpx 15rpx;
				}

				image {
					width: 40rpx;
					height: 40rpx;
				}
			}
		}
</style>
